package com.stoken.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.stoken.dao.TravelApplyDao;
import com.stoken.domain.TravelApply;
import com.stoken.service.TravelApplyService;
import com.symbio.commons.Page;
import com.symbio.dao.hibernate.GenericDaoImpl;
import com.symbio.service.impl.AbstractServiceImpl;

@Service
public class TravelApplyServiceImpl extends AbstractServiceImpl<TravelApply, Long> implements TravelApplyService{
	
    @Autowired
	private TravelApplyDao TravelApplyDao;

	@Override
	public GenericDaoImpl<TravelApply, Long> getDao() {
		return TravelApplyDao;
	}

	@Override
	public Page<TravelApply> find(Page<TravelApply> pageData) {
		return TravelApplyDao.find(pageData);
	}
    


}
